import { translate } from '@/utils/i18n'
export const propList = [
  // { prop: 'venueName', label: translate('venueName'), minWidth: '120' },
  { prop: 'phone', label: translate('jsrPhone'), minWidth: '120' },
  { prop: 'typeName', label: translate('sysType'), minWidth: '100' },
  { prop: 'content', label: translate('sysContent'), minWidth: '400' },
  { prop: 'createTime', label: translate('sendTime'), minWidth: '150' },
  { prop: 'sendStatusName', label: translate('sendStatus'), minWidth: '80' },
  { prop: 'reason', label: translate('errCause'), minWidth: '100' }
]
export const formItems = [
  // {
  //   filed: 'venueId',
  //   type: 'select',
  //   label: translate('venueName'),
  //   clearable: true,
  //   options: []
  // },
  {
    filed: 'phone',
    type: 'input',
    label: translate('jsrPhone')
  },
  {
    filed: 'sendStatus',
    type: 'select',
    label: translate('sendStatus'),
    options: [
      { value: '0', label: translate('success') },
      { value: '1', label: translate('error') }
    ]
  },
  // {
  //   filed: 'type',
  //   type: 'select',
  //   label:translate('sysType'),
  //   options: [
  //     { value: '01', label: 'pc注册用户' },
  //     // { value: '1', label:translate('error') }
  //   ]
  // },
  {
    filed: 'selTime',
    type: 'datetimerange',
    label: translate('sjdxz')
  }
]
export const queryFormConfig = {
  formItems,
  online: true
}
